Add a command to popup toplevel bindings
authorIqbal Ansari <iqbalansari02@yahoo.com>
Sat, 10 Oct 2015 12:35:09 +0000 (18:05 +0530)
committerIqbal Ansari <iqbalansari02@yahoo.com>
Fri, 13 Nov 2015 17:10:05 +0000 (22:40 +0530)
which-key.el

index a7222ea0a6af8202ee376cf6dd0f830fcd0c3c0f..a66d4fcac965e2daa738744939ace83c897ddbf6 100644 (file)
@@ -555,6 +555,11 @@ bottom."
   (setq which-key-popup-type 'minibuffer
         which-key-show-prefix 'left))
 
+;;;###autoload
+(defun which-key-toplevel ()
+  (interactive)
+  (which-key--create-buffer-and-show nil))
+
 ;; Helper functions to modify replacement lists.
 
 (defun which-key--add-key-val-to-alist (alist key value &optional alist-name)